package org.authsum.stitches.wicket.pages;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import org.authsum.stitches.wicket.pages.*;
import org.apache.wicket.PageParameters;
import org.apache.wicket.extensions.markup.html.tabs.AbstractTab;
import org.apache.wicket.extensions.markup.html.tabs.TabbedPanel;
import org.apache.wicket.markup.html.WebPage;
import org.apache.wicket.markup.html.basic.Label;
import org.apache.wicket.markup.html.panel.Panel;
import org.apache.wicket.model.Model;
import org.authsum.stitches.wicket.contentdef.ContentDefsPanel;
import org.authsum.stitches.wicket.content.*;
import org.authsum.stitches.wicket.contentversion.*;
/**
 * Homepage
 */
public class BasePage extends WebPage {

	public BasePage() {
		add(new Label("pageTitle",pageTitleModel));
	}
	public BasePage(final PageParameters parameters) {
		this();
	}
	private static final long serialVersionUID = 1L;

	private String subTitle  = "";
	
	private String pageTitle  = "Stitches Client";
	
	public void setSubTitle(String subTitle) {
		this.subTitle  = subTitle;
	}
	
	public Model pageTitleModel = new Model() {
		public Serializable getObject() {
			return pageTitle + "-" + subTitle;
		}
	};
	



}
